﻿<Window x:Class="Settings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Settings" Height="410" Width="350" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Icon="/Terminator;component/Resources/Icons/tools.ico">
    <Grid Margin="5">
        <StackPanel>            
            <GroupBox Header="Password" Padding="5">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="25px" />
                        <RowDefinition Height="25px" />
                        <RowDefinition Height="25px" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="110px" />
                        <ColumnDefinition/>                        
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Grid.Row="0" Name="lbOldPassword" Text="Old Password:" VerticalAlignment="Center" />
                    <TextBlock Grid.Column="0" Grid.Row="1" Name="lbNewPassword" Text="New Password:" VerticalAlignment="Center" />
                    <TextBlock Grid.Column="0" Grid.Row="2" Name="lbConfirmPassword" Text="Confirm Password:" VerticalAlignment="Center"/>                    
                    <PasswordBox Name="txtOldPassword" Grid.Column="1" Grid.Row="0" ></PasswordBox>
                    <PasswordBox Name="txtNewPassword" Grid.Column="1" Grid.Row="1"></PasswordBox>
                    <PasswordBox Name="txtConfirmPassword" Grid.Column="1" Grid.Row="2"></PasswordBox>
                </Grid>
            </GroupBox>
            <GroupBox Header="PIN" Padding="5">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="25px" />
                        <RowDefinition Height="25px" />
                        <RowDefinition Height="25px" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>                        
                        <ColumnDefinition Width="110px" />
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Grid.Row="0" Name="lbOldPIN" Text="Old PIN:" VerticalAlignment="Center" />
                    <TextBlock Grid.Column="0" Grid.Row="1" Name="lbNewPIN" Text="New PIN:" VerticalAlignment="Center" />
                    <TextBlock Grid.Column="0" Grid.Row="2" Name="lbConfirmPIN" Text="Confirm PIN:" VerticalAlignment="Center"/>
                    <PasswordBox Name="txtOldPIN" Grid.Column="1" Grid.Row="0" ></PasswordBox>
                    <PasswordBox Name="txtNewPIN" Grid.Column="1" Grid.Row="1"></PasswordBox>
                    <PasswordBox Name="txtConfirmPIN" Grid.Column="1" Grid.Row="2"></PasswordBox>
                </Grid>
            </GroupBox>
            <GroupBox Header="Panic Settings" Padding="5">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="25" />
                        <RowDefinition Height="25" />
                        <RowDefinition Height="25" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="110" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="0" Grid.Row="0" Text="Panic Batch File:"></TextBlock>
                    <TextBlock Grid.Column="0" Grid.Row="1" Text="Abort time (sec):"></TextBlock>
                    <TextBlock Grid.Column="0" Grid.Row="2" Text="Key check (sec):"></TextBlock>
                    <TextBox Name="txtPanicBatch" Grid.Column="1" Grid.Row="0"></TextBox>
                    <TextBox Name="txtAbortTime" Grid.Column="1" Grid.Row="1"></TextBox>
                    <TextBox Name="txtKeyCheck" Grid.Column="1" Grid.Row="2"></TextBox>
                </Grid>
            </GroupBox>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 10 0 0">
                <Button Height="23" Name="btnApply" Width="75" Margin="0 0 10 0">Apply</Button>
                <Button Height="23" Name="btnCancel" Width="75">Cancel</Button>
            </StackPanel>            
        </StackPanel>
    </Grid>
</Window>
